<template>
  <div id="bottomRight">
    <!--    <div class="bg-color-black">-->
    <div class="d-flex pt-2 pl-2 text_box">
        <span>
          <icon class="text-icon" name="chart-area"></icon>
        </span>
      <div class="d-flex">
        <span class="fs-xl text mx-2">信工各专业人数分布统计图</span>
        <div class="decoration2">
          <dv-decoration-2 :reverse="true" style="width:5px;height:6rem;"/>
        </div>
      </div>
    </div>
    <div class="chart_box">
      <BottomRightChart :collage="collage" :number="number"/>
    </div>
  </div>
  <!--  </div>-->
</template>

<script>
import BottomRightChart from "@/components/echart/bottom/bottomRightChart";

export default {
  props: ["collage", "number"],
  components: {
    BottomRightChart
  },
  mounted() {
    // setInterval(()=>{
    //   console.log("中下")
    //   console.log(this.collage,this.number)
    // },3000)
  }
};
</script>

<style class lang="scss">
$box-height: 100px;
$box-width: 100%;
#bottomRight {
  padding: 14px 16px;
  height: $box-height;
  width: $box-width;
  border-radius: 5px;
  //.bg-color-black {
  //  height: $box-height - 100px;
  //  border-radius: 10px;
  //}
  .text_box {
    margin: 0 auto;

    .text-icon {
      font-size: 24px;
    }

    .text {
      color: #c3cbde;
      font-size: 30px;

    }
  }

  .chart_box {
    margin-top: 4%;
  }

  //下滑线动态
  .decoration2 {
    position: absolute;
    right: 0.125rem;
  }

  .chart-box {
    margin-top: 16px;
    width: 170px;
    height: 100px;

    .active-ring-name {
      padding-top: 10px;
    }
  }
}
</style>